Pool.this

class Pool(T)
this
(
int maxPoolSize = -1
)
if (
is(T == class) ||
is(T == interface)
)

Parameters

maxPoolSize int

-1 means that Pool will never return null. It may still give array out of bounds if too many objects are created.

Meta